package com.ruoyi.system.service;

import com.ruoyi.system.domain.Volunteer;

import java.util.List;

public interface VolunteerService {
    public Volunteer selectVolunteerOne(Volunteer volunteer);
    //查询志愿数据集合
    public List<Volunteer> selectVolunteerList(Volunteer volunteer);
    //查询所有志愿
    public List<Volunteer> selectVolunteerAll();
    //根据id查找志愿
    public Volunteer selectVolunteerById(Long vId);
    //删除志愿（id）
    public int deleteVolunteerById(Long vId);
    //批量删除
    public int deleteVolunteerByIds(Long[] vIds);
    //修改志愿信息
    public int updateVolunteer(Volunteer volunteer);
    //添加新志愿
    public int insertVolunteer(Volunteer volunteer);
}

